<template>
  <van-dialog v-model="show" title="标题" theme="round-button">
    <div class="content">弹窗内荣</div>
  </van-dialog>
</template>

<script>
export default {
  data() {
    return {
      show: 'true',
    };
  },
  methods: {
    closeDialog() {
      this.$emit('closeDialog');
    },
  },
};
</script>

<style lang="scss" scoped>
.dialog {
  //居中
  position: absolute;
  left: 50;
  top: 50;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 100px;
}
</style>
